package com.wangfugui.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 视频标签表
 * </p>
 *
 * @author liyu
 * @since 2025-04-12
 */
@Getter
@Setter
@TableName("short_play_tags")
@ApiModel(value = "ShortPlayTags对象", description = "视频标签表")
public class ShortPlayTags implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("标签名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("标签类型(1-系统标签,2-用户标签)")
    @TableField("type")
    private Byte type;

    @ApiModelProperty("热度评分(越高越热)")
    @TableField("hot_score")
    private Integer hotScore;

    @TableField("created_at")
    private LocalDateTime createdAt;

    @TableField("updated_at")
    private LocalDateTime updatedAt;
}
